import request from "../utils/request"

export default {
  loginUser(userId, password) {
    return request({
      url: `/loginUser`,
      method: 'post',
      params: {
        userId: userId,
        password: password
      }
    })
  },
  loginAdmin(userId, password) {
    return request({
      url: `/loginAdmin`,
      method: 'post',
      params: {
        userId: userId,
        password: password
      },

    })
    
  },

}
